﻿using System;
using System.IO;

namespace OpenLS.Spreadsheet.Formats.Biff.OfficeArt
{
    partial class OfficeArtFDGGBlock
    {
        private class OfficeArtFDGG
        {
            internal uint cdgSaved;
            internal uint cidcl;
            internal uint cspSaved;
            internal uint spidMax;

            public static int ByteLength
            {
                get { return 4 * 4; }
            }

            public void Read(BinaryReader reader)
            {
                spidMax = reader.ReadUInt32();
                cidcl = reader.ReadUInt32();
                cspSaved = reader.ReadUInt32();
                cdgSaved = reader.ReadUInt32();
            }

            public void Write(BinaryWriter writer)
            {
                writer.Write(spidMax);
                writer.Write(cidcl);
                writer.Write(cspSaved);
                writer.Write(cdgSaved);
            }
        }
    }
}